package com.salesystem.dao.entity;

/**
 * Ordersinfo entity. @author MyEclipse Persistence Tools
 */

public class Ordersinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Orders orders;
	private Product product;
	private Integer num;

	// Constructors

	/** default constructor */
	public Ordersinfo() {
	}

	/** full constructor */
	public Ordersinfo(Orders orders, Product product, Integer num) {
		this.orders = orders;
		this.product = product;
		this.num = num;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Orders getOrders() {
		return this.orders;
	}

	public void setOrders(Orders orders) {
		this.orders = orders;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

}